package test3_tx.Config;


import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan("test3_tx")
@PropertySource("jdbc.properties")
//开启aop
@EnableAspectJAutoProxy
//开启事务
@EnableTransactionManagement
@Import({JdbcConfig.class,MybatisConfig.class})
public class SpringConfig {
}
